﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="logout.aspx.cs" Inherits="LJSheng.Web.logout" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>正在退出登录...</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <marquee><span style="font-weight: bolder;font-size: 40px;color: red;">正在安全退出登录...谢谢你使用系统!!! </span></marquee>
    </div>
    <script type="text/javascript"> 
        function dl() {
            if (window.top != window.self) {
                if (getQueryVariable("lx") == "0") {
                    window.top.location = "dl.aspx";
                }
                else {
                    window.top.location = "denglu.aspx";
                }
            }
        }
        function getQueryVariable(variable) {
            var query = window.location.search.substring(1);
            var vars = query.split("&");
            for (var i = 0; i < vars.length; i++) {
                var pair = vars[i].split("=");
                if (pair[0] == variable) { return pair[1]; }
            }
            return (false);
        }
        setTimeout(function () { dl(); }, 3838);
    </script> 
    </form>
</body>
</html>
